package mubei.pojo;

/**
 * @author mubei
 * @date 2020/12/6
 * @description
 */
public class Glede extends Animal implements Flyable{

    private int speed;


    public Glede(int leg, int speed) {
        super(leg);
        this.speed = speed;
    }

    @Override
    public void speed() {
        System.out.println(speed);
    }


    @Override
    public void sound(){
        System.out.println("嘎");
    };
}
